package request

type Login struct {
	Username string `form:"username"  binding:"required"`
	Password string `form:"password" binding:"required"`
}
type CouponCreate struct {
	Title       string `form:"title" binding:"required"`
	TypeId      int64  `form:"typeId" binding:"required"`
	Comment     string `form:"comment" binding:"required"`
	ClaimStatus int64  `form:"claimStatus" binding:"required"`
	Remaining   int64  `form:"remaining" binding:"required"`
	Quantity    int64  `form:"quantity" binding:"required"`
}
type CouponList struct {
	Page     int64  `form:"page"`
	PageSize int64  `form:"pageSize"`
	Title    string `form:"title"`
	TypeId   int64  `form:"typeId"`
}
type CouponUpdate struct {
	Id     int64 `form:"int64" binding:"required"`
	Status int64 `form:"status" binding:"required"`
}
type CouponDel struct {
	Id int64 `form:"id" binding:"required"`
}
